package com.rui.observer.model.push;

import lombok.AllArgsConstructor;

/**
 * @Description: 微信用户类 具体的观察者
 * @Author: ZhangRui
 * @Date: 2023/3/3 15:38
 * @Version: 1.0
 */
@AllArgsConstructor
public class WeixinUser implements Observer {

    private String name;

    @Override
    public void update(String message) {
        System.out.println(name + "接收到了消息(观察到了):" + message);
    }
}
